<title>Logout</title>

{% load staticfiles %}
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}" />
<script src='{% static "js/base.js" %}'> </script>
<script src='{% static "js/jquery-1.11.3.js" %}'></script>
<html>
<body>
<div id='container'>
	<div id='top'>
		<div id='top-head'>
			<div id='title'>Hunter.com</div>
		</div>
		<div id='top-nav'>
			<ul id='menu'>
				<li id='menu-left'><a href='{% url "accounts:home" %}'><img src='{% static "images/home.png" %}'></a></li>
				<li id='menu-left'>Logout</li>
				<li id='menu-right'><a href="{% url 'products:search' %}"><img src='{% static "images/search.png" %}'></a></li>
				{% if login_check %}
					<li id='menu-right'>Welcome {{user_fname}}!</li>
					<li id='menu-right'><a href="{% url 'accounts:logout' %}">Logout</a></li>
				{% else %}
					<li id='menu-right'><a href="{% url 'accounts:login' %}">Login</a></li>
					<li id='menu-right'><a href="{% url 'accounts:make_new_user' %}">Register</a></li>
				{% endif %}
			</ul>
		</div>
	</div>
	<div id='main'>
		<div id='content'>
			<p>Are you sure you would like to logout?<p>

			<form class="form-horizontal" method="post">
				{% csrf_token %}
				<p><button type="submit" class="btn">Logout</button></p>
			</form>
		</div>
		<script>windowResize()</script>
	</div>
	<div id='foot'>
		created by 郝蕊 and Leonard Wainstein | designed by Gabriel Mickel<br>
		copyrighted: never! :)
	</div>
</div>
</body>
</html>